package com.cn.utils;

import com.cn.domain.User;

public class CurrentUserUtils {

	private static ThreadLocal<User> tl = new ThreadLocal<User>();
	
	public static void bind(User u){
		tl.set(u);
	}
	public static User get() {
		
		return tl.get();
	}
	public static void remove(){
		tl.remove();
	}
}
